<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>canvas 滤镜</title>
  <link rel="stylesheet" href="index.css">
</head>
<body>
  <h3>
    滤镜选择：
  </h3>
  <ul class="selection">
    <li>
      <button id="retro">复古</button>
      <button id="weird">诡异</button>
      <button id="ashing">灰化</button>
      <button id="photographicPlate">照片底片</button>
      <button id="documentary">老纪录片</button>
    </li>
  </ul>
  <div class="box">
    <img id="img" src="index.png">
  </div>
  <canvas id="canvas"></canvas>
  <script src="index.js"></script>
</body>
</html>